<template>
	<navbar titleText="登录"/>
	<view>
		<button class="but" type="primary" @click="login">
			一键登录
		</button>
	</view>
</template>

<script setup>
	const app = getApp()
	
	const login =()=>{
		app.globalData.utils.getUserInfo()
		
	}
	
</script>

<style>
	.but{
		margin-top: 450rpx;
		width: 200rpx;
		height: 90rpx;
	}
</style>
